﻿namespace Chapter01.DesignMode {
    public class MallarkDuck : Duck {
        public MallarkDuck() {
            QuackBehavior = new Quacker();
            FlyBehavior = new FlyWithWings();
        }

        public override void Display() {
            Console.WriteLine("I'm a real Mallard duck");
        }
    }
}
